Skip to content

fix: preserve .data route params in v7 single fetch requests - #15734

Draft
brophdawg11 wants to merge 1 commit into
v7from
brophdawg11/codex-fix-double-data-suffix
Draft

brophdawg11 wants to merge 1 commit into
v7from
brophdawg11/codex-fix-double-data-suffix

Conversation

@brophdawg11

Copy link
Copy Markdown
Contributor

In v7 Framework Mode with future.v8_passThroughRequests disabled, /items/foo.data.data is normalized twice, so loaders and actions receive params.id === "foo" instead of "foo.data".

Normalize the original request for route matching to preserve the .data suffix in route parameters and the normalized url argument, while retaining v7's existing request.url behavior. Requests with pass-through enabled and v8 are unaffected.

Closes #15733

Authored by an AI agent on behalf of @brophdawg11

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Preview Build Available

Preview builds have been created for this PR. You can install react-router using:

pnpm install "remix-run/react-router#preview/pr-15734&path:packages/react-router"

And/or install other packages via:

pnpm install "remix-run/react-router#preview/pr-15734&path:packages/react-router-dev"
pnpm install "remix-run/react-router#preview/pr-15734&path:packages/react-router-express"
pnpm install "remix-run/react-router#preview/pr-15734&path:packages/react-router-node"
pnpm install "remix-run/react-router#preview/pr-15734&path:packages/react-router-serve"

These preview builds will be updated automatically as you push new commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant